import request from "@/api/index"

export default{
  /**
   * @description: 用药环比 *代表必填
   * @param {Object} params *
   * @return {Object}
   */
  mom(params){
    const url = "/health/medicationRecord/mom"
    return request.post(url,{
      ...params
    })
  },
  /**
   * @description: 用药同比 *代表必填
   * @param {Object} params *
   * @return {Object}
   */
  yoy(params){
    const url = "/health/medicationRecord/yoy"
    return request.post(url,{
      ...params
    })
  },
  /**
   * @description: 用药统计 *代表必填
   * @param {Object} params *
   * @return {Object}
   */
  count(params){
    const url = "/health/medicationRecord/count"
    return request.post(url,{
      ...params
    })
  },
}